home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / A-B / add images.cpt / about add-images next >
Text File  |  1989-06-23  |  2KB  |  33 lines

  1. about add-images
  2.  
  3. the purpose of this program is to read in two images and display the 
  4. additive result of the two images - using any of the documented
  5. color quickdraw modes (the old quickdraw copybits modes may also be
  6. used, but the end result is not very pretty).  The two source images can
  7. be offset from each other using the scroll bars on the source image windows.
  8.  
  9. this has only been tested, and only is sure to run correctly, on 8-bit color mode, macintosh II, with Finder 6.1, System 6.0.2, and Multifinder 6.0.1, using
  10. the THINK LightSpeed C developement environment.
  11.  
  12. known bug: 
  13.     (1)    some pointers and handles are not deallocated, so that memory eventually runs out when running the program long enough -- every time the
  14. source images are changed (including scrolling), the result image is regenerated, causing a loss of more heap-space.
  15.     (2)    saving the result image as not been implemented, as well as features such as magnify and reduce, and cut/paste to/from the clipboard.
  16.  
  17. un-explained bugs:  
  18.     (1)    why the images look bad upon first presentation, but look good after switching around in multifinder.
  19.     (2)    the original idea was to read an image into a gray-mapped offscreen pixmap, then manipulate the pixel values directly, and then change the color map to a special set of 16 red * 16 green values. this seemed to not work at all.
  20.     (3)    one of the color addition modes doesn't seem to work, ever, though it's documented in my not-quite-final copy of the inside mac volume 5.
  21.  
  22. I would appreciate any help with debugging, C examples of using color quickdraw - palette manager, color manager, off-screen pixmaps, etc.  Contact me through US MAIL, phone, or as a last resort, Genie: (I'm trying to minimize Genie expenses.)
  23.  
  24. Keith Ray
  25. Radiology 9071
  26. UT Southwestern Medical Center in Dallas
  27. 5323 Harry Hines Blvd.
  28. Dallas TX 75235-9071
  29.  
  30. 214-688-2180
  31.  
  32. I am moderately happy in my present work-place ( Macs, Vaxes, PCs, possibly Suns in the near future ), but dislike being the ONLY mac-literate programmer around, as well as seeking salary better than the state-requirements. Please see the Short Resume.mw.
  33.